package grape.attend.rest.overtime.form;
import grape.common.rest.form.BaseUpdateForm;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
/**
 * <p>
 * 加班设置表
 * </p>
 *
 * @author yangwei
 * @since 2020-05-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="加班设置更新单对象")
public class OvertimeUpdateForm extends BaseUpdateForm {

    private static final long serialVersionUID = 1L;

    @NotEmpty(message="名称不能为空")
    @ApiModelProperty(value = "名称",required = true)
    private String name;

    @NotEmpty(message="工作日加班不能为空")
    @ApiModelProperty(value = "工作日加班id",required = true)
    private String overtimeWorkId;

    @NotEmpty(message="休息日加班不能为空")
    @ApiModelProperty(value = "休息日加班id",required = true)
    private String overtimeRestId;

    @NotEmpty(message="法定节假日加班不能为空")
    @ApiModelProperty(value = "法定节假日加班id",required = true)
    private String overtimeLegalId;

    @ApiModelProperty(value = "备注")
    private String remark;



}
